<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GrPPI: patterns.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GrPPI
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Generic and Reusable Parallel Pattern Interface</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0966d06610f72609fd9aa4979c2b5a92.html">common</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">patterns.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;tuple&gt;</code><br />
<code>#include &lt;type_traits&gt;</code><br />
<code>#include &quot;<a class="el" href="callable__traits_8h_source.html">callable_traits.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="farm__pattern_8h_source.html">farm_pattern.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="filter__pattern_8h_source.html">filter_pattern.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="pipeline__pattern_8h_source.html">pipeline_pattern.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="reduce__pattern_8h_source.html">reduce_pattern.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="iteration__pattern_8h_source.html">iteration_pattern.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="common_2context_8h_source.html">context.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for patterns.h:</div>
<div class="dyncontent">
<div class="center"><img src="patterns_8h__incl.png" border="0" usemap="#apatterns_8h" alt=""/></div>
<map name="apatterns_8h" id="apatterns_8h">
<area shape="rect" title=" " alt="" coords="413,5,493,32"/>
<area shape="rect" title=" " alt="" coords="5,80,56,107"/>
<area shape="rect" title=" " alt="" coords="412,155,495,181"/>
<area shape="rect" href="callable__traits_8h.html" title=" " alt="" coords="131,80,245,107"/>
<area shape="rect" href="farm__pattern_8h.html" title=" " alt="" coords="269,80,376,107"/>
<area shape="rect" href="filter__pattern_8h.html" title=" " alt="" coords="401,80,506,107"/>
<area shape="rect" href="pipeline__pattern_8h.html" title=" " alt="" coords="530,80,654,107"/>
<area shape="rect" href="reduce__pattern_8h.html" title=" " alt="" coords="678,80,797,107"/>
<area shape="rect" href="iteration__pattern_8h.html" title=" " alt="" coords="821,80,947,107"/>
<area shape="rect" href="common_2context_8h.html" title=" " alt="" coords="971,80,1047,107"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="patterns_8h__dep__incl.png" border="0" usemap="#apatterns_8hdep" alt=""/></div>
<map name="apatterns_8hdep" id="apatterns_8hdep">
<area shape="rect" title=" " alt="" coords="259,5,339,32"/>
<area shape="rect" href="sequential__execution_8h.html" title=" " alt="" coords="5,87,160,114"/>
<area shape="rect" href="stream__filter_8h.html" title=" " alt="" coords="272,177,376,203"/>
<area shape="rect" href="stream__reduce_8h.html" title=" " alt="" coords="354,259,473,285"/>
<area shape="rect" href="parallel__execution__tbb_8h.html" title=" " alt="" coords="185,80,311,121"/>
<area shape="rect" href="dynamic__execution_8h.html" title=" " alt="" coords="122,259,267,285"/>
<area shape="rect" href="parallel__execution__omp_8h.html" title=" " alt="" coords="19,169,146,211"/>
<area shape="rect" href="grppi_8h.html" title=" " alt="" coords="285,333,347,360"/>
</map>
</div>
</div>
<p><a href="patterns_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1pipeline__info.html">grppi::pipeline_info&lt; E, Stage, Stages &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1reduction__info.html">grppi::reduction_info&lt; E, Combiner, Identity &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1farm__info.html">grppi::farm_info&lt; E, Operation &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1filter__info.html">grppi::filter_info&lt; E, Operation &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgrppi_1_1stage__return__type.html">grppi::stage_return_type&lt; return_type, Ts &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the return type after applying a list of transformers (stages) on a input type.  <a href="structgrppi_1_1stage__return__type.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgrppi_1_1stage__return__type_3_01_input_00_01_transformer_01_4.html">grppi::stage_return_type&lt; Input, Transformer &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the return type of applying a function on a input type.  <a href="structgrppi_1_1stage__return__type_3_01_input_00_01_transformer_01_4.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgrppi_1_1stage__return__type_3_01_input_00_01_transformer_00_01_other_01_8_8_8_01_4.html">grppi::stage_return_type&lt; Input, Transformer, Other ... &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the return type of consecutively applying a set of transformer functions on a input type.  <a href="structgrppi_1_1stage__return__type_3_01_input_00_01_transformer_00_01_other_01_8_8_8_01_4.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacegrppi"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrppi.html">grppi</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:aefc4ab6149586d62bcb16b97bcefdd0a"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:aefc4ab6149586d62bcb16b97bcefdd0a"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegrppi.html#aefc4ab6149586d62bcb16b97bcefdd0a">grppi::requires_no_pattern</a> = std::enable_if_t&lt; is_no_pattern&lt; T &gt;, int &gt;</td></tr>
<tr class="separator:aefc4ab6149586d62bcb16b97bcefdd0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44f8144ac6fb7f6ef3e5d73369b01a0a"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a44f8144ac6fb7f6ef3e5d73369b01a0a"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegrppi.html#a44f8144ac6fb7f6ef3e5d73369b01a0a">grppi::requires_pattern</a> = std::enable_if_t&lt; is_pattern&lt; T &gt;, int &gt;</td></tr>
<tr class="separator:a44f8144ac6fb7f6ef3e5d73369b01a0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64dd705d0f32b64d20dba8d5b9cebbbe"><td class="memTemplParams" colspan="2">template&lt;typename Input , typename Transformer &gt; </td></tr>
<tr class="memitem:a64dd705d0f32b64d20dba8d5b9cebbbe"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegrppi.html#a64dd705d0f32b64d20dba8d5b9cebbbe">grppi::result_type</a> = typename std::result_of&lt; Transformer(Input)&gt;::type</td></tr>
<tr class="memdesc:a64dd705d0f32b64d20dba8d5b9cebbbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the return type of applying a function on a input type.  <a href="namespacegrppi.html#a64dd705d0f32b64d20dba8d5b9cebbbe">More...</a><br /></td></tr>
<tr class="separator:a64dd705d0f32b64d20dba8d5b9cebbbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a1a507b16908e2fc55a42c444ce34602a"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a1a507b16908e2fc55a42c444ce34602a"><td class="memTemplItemLeft" align="right" valign="top">constexpr bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegrppi.html#a1a507b16908e2fc55a42c444ce34602a">grppi::is_no_pattern</a></td></tr>
<tr class="separator:a1a507b16908e2fc55a42c444ce34602a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4dd11c6c8c471494aaa6ac02fbaa36d"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ab4dd11c6c8c471494aaa6ac02fbaa36d"><td class="memTemplItemLeft" align="right" valign="top">constexpr bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegrppi.html#ab4dd11c6c8c471494aaa6ac02fbaa36d">grppi::is_pattern</a> = !is_no_pattern&lt;T&gt;</td></tr>
<tr class="separator:ab4dd11c6c8c471494aaa6ac02fbaa36d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>
